package com.yanchangapp.commom;

import com.yanchangapp.model.bean.MailBean;

public enum MailType {
    INBOX{
        @Override
        public MailBean getMailDetail() {
            return new MailBean("收件箱","inbox","发件人/主题",0);
        }
    },DRAFT{
        @Override
        public MailBean getMailDetail() {
            return new MailBean("草稿箱","draft","主题",1);
        }
    },SENT{
        @Override
        public MailBean getMailDetail() {
            return new MailBean("已发送","sent","主题",2);
        }
    },TRASH{
        @Override
        public MailBean getMailDetail() {
            return new MailBean("已删除","trash","发件人/主题",4);
        }
    },SPAM{
        @Override
        public MailBean getMailDetail() {
            return new MailBean("垃圾箱","spam","发件人/主题",3);
        }
    };
    public abstract MailBean getMailDetail();
}
